FluentCrm\App\Http\Controllers\CampaignController C

Total Complexity 121
Dependencies 12
Dependents 0
Total lines 1,059
Lines of code 827
Logical lines of code 383
Comment lines 4
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
getCampaignStatus()
B
33 19 99
getEmailPreviewBody()
B
38 16 69
sendTestEmail()
A
35 10 97
subscribe()
A
39 10 69
update()
A
42 9 53
campaigns()
S
52 6 23
schedule()
S
44 4 49
processingStat()
S
51 5 26
unSchedule()
S
52 4 26
getContactEstimation()
S
53 4 24
campaignEmails()
S
53 4 22
updateCampaignTitle()
S
54 3 22
handleBulkAction()
S
53 3 22
campaign()
S
55 3 19
draftRecipients()
S
51 2 27
resumeCampaign()
S
55 2 20
pauseCampaign()
S
56 2 19
validateRecipientsSelection()
S
56 2 19
deleteCampaignEmails()
S
57 2 17
recipientsCount()
S
59 2 16
duplicateCampaign()
S
50 1 28
previewEmail()
S
62 2 12
createTemplate()
S
61 1 12
create()
S
63 1 11
updateSingleCampaignSimulate()
S
75 1 4
unsubscribe()
S
66 1 8
updateStep()
S
68 1 7
delete()
S
68 1 7